﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GtsServer.Model;
using System.Data;
using GtsServer.DAL;
using GtsServer.Common;

namespace GtsServer.Manage.Controller
{
    public class DayUserActReportController
    {
        public List<DayUserActReport> GetList(int pageIndex, int pageSize, string start, string end, out int count)
        {
            DayUserActReportDAL dal = new DayUserActReportDAL();
            count = 0;
            DataSet ds = dal.GetList(pageIndex, pageSize, start, end);
            count = Convert.ToInt32(ds.Tables[1].Rows[0][0]);
            return IListDataSet.DataSetToIList<DayUserActReport>(ds, 0).ToList();
        }
    }
}
